load("@rules_proto//proto:defs.bzl", "proto_library")
load("@grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")
load("@rules_cc//cc:defs.bzl", "cc_proto_library")
proto_library(
    name = "helloworld_proto",
    srcs = ["helloworld.proto"],
)


cc_proto_library(
    name = "helloworld_cc_proto",
    deps = [":helloworld_proto"],
    visibility = ["//visibility:public"],
)


cc_grpc_library(
    name = "helloworld_cc_grpc",
    srcs = [":helloworld_proto"],
    grpc_only = True,
    deps = [":helloworld_cc_proto"],
     visibility = ["//visibility:public"],
)